Skip to content

Measure only the app package in iOS SOD jobs - #5266

Open
matouskozak wants to merge 1 commit into
mainfrom
matouskozak-measure-mobile-package-files
Open

Measure only the app package in iOS SOD jobs#5266
matouskozak wants to merge 1 commit into
mainfrom
matouskozak-measure-mobile-package-files

Conversation

@matouskozak

@matouskozak matouskozak commented Jul 24, 2026

Copy link
Copy Markdown
Member

Summary

  • stage only the IPA and versions.json for the iOS SizeOnDisk work items
  • extract only Payload so the extracted metric measures the installed app bundle

This is the iOS counterpart to #5265, which made the equivalent Android change and has already merged.

Metric changes

IPA Size now reports exactly one file — the distributable package. Previously it also counted publish/restore binlogs and the dSYM bundles that sit beside the IPA in the publish directory, which inflated the metric by 2.5x–5.7x depending on configuration.

Extracted Size now reports only the app bundle. Previously it also counted Apple's top-level Symbols directory, which the .NET iOS SDK adds to the IPA via _CreateIpaSymbols for crash symbolication but which is not part of the installed app. That directory accounted for 40–72% of the previous totals, so expect a one-time step down in this series.

Both metrics keep their existing names, so the change appears as a level shift rather than a new series. Startup, memory, and build-time work items are untouched.

This also aligns the iOS scenarios with how app size is measured elsewhere: the package file for distribution size, and the .app bundle for installed size.

Copilot AI review requested due to automatic review settings July 24, 2026 13:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates MAUI mobile SizeOnDisk (SOD) Helix work items so that app-size metrics measure only the actual package artifacts (signed APK/IPA) plus versions.json, instead of recursively measuring an entire publish directory that may contain unrelated build outputs.

Changes:

  • Android SOD work items now stage only the signed APK and versions.json into pub (instead of copying the whole scenario directory).
  • iOS SOD work items now stage only the IPA and versions.json into pub, and unpack only the staged IPA for extracted-size measurements.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
eng/performance/maui_scenarios_ios.proj Restricts iOS SOD staging to the IPA + versions.json, and unpacks only the staged IPA for extracted-size measurement.
eng/performance/maui_scenarios_android.proj Restricts Android SOD staging to the APK + versions.json, and unpacks only the staged APK for extracted-size measurement.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings July 27, 2026 13:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Stage just the IPA and version metadata for the iOS SizeOnDisk work items so publish sidecars such as binlogs and dSYM bundles are no longer reported as IPA size, and extract only Payload so the extracted metric measures the installed app bundle rather than also counting Apple's Symbols directory.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 9cde6db4-052e-4355-a252-05b45b2e624e
Copilot AI review requested due to automatic review settings August 5, 2026 05:54
@matouskozak
matouskozak force-pushed the matouskozak-measure-mobile-package-files branch from 8e640ac to 5f08406 Compare August 5, 2026 05:54
@matouskozak matouskozak changed the title Measure only mobile package files in SOD jobs Measure only the app package in iOS SOD jobs Aug 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@matouskozak matouskozak self-assigned this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants